package com.tuozixuan.camel.process;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.springframework.stereotype.Component;

@Component
public class CustomProcessor implements Processor {
    
    @Override
    public void process(Exchange exchange) throws Exception {
        System.out.println("process:" + exchange.getMessage().getBody());
    }
    
}
